<?php require_once 'head.html';?>
        <div class="span9">
		 
		  
		        <div>

  <!-- Nav tabs -->
  <ul class="nav nav-tabs" role="tablist">
    <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">网站配置</a></li>
    <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">音乐</a></li>
    <li role="presentation"><a href="#video" aria-controls="video" role="tab" data-toggle="tab">视频</a></li>
    <li role="presentation"><a href="#article" aria-controls=article role="tab" data-toggle="tab">文章</a></li>
  </ul>

  <!-- Tab panes -->
  <div class="tab-content">
  
<!--   网站配置 -->
    <div role="tabpanel" class="tab-pane active" id="home">
    
 <div class="row-fluid">
			<div class="page-header">
				<h1>网站配置 <small>Site Config</small></h1>
			</div>
			<form class="form-horizontal" action="?c=site" method="post" enctype="multipart/form-data">
				<fieldset>
				   <div class="control-group">
						<label class="control-label" for="logo">LOGO</label>
						<div class="controls">
							<input type="file" class="input-xlarge" id="logo" name="logo"/>
							 <a href="<?php echo $site['logo'];?>" target="_blank"><img title="点击查看大图" alt="点击查看大图" style="height: 28px;" src="<?php echo $site['logo'];?>"> 查看</a>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="logo_title">标题</label>
						<div class="controls">
							<input type="text" name="logo_title" class="input-xlarge" id="logo_title" value="<?php echo $site['logo_title'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="title">网站名称</label>
						<div class="controls">
							<input type="text" name="title" class="input-xlarge" id="title" value="<?php echo $site['title'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="keys">关键字</label>
						<div class="controls">
							<input type="text" name="keys" class="input-xlarge" id="keys" value="<?php echo $site['keyword'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="con">简介</label>
						<div class="controls">
							<input type="text" name="con" class="input-xlarge" id="con" value="<?php echo $site['con'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="con">分类显示条目数</label>
						<div class="controls">
							<input type="radio" name="ify_ture_name" id="blankRadio1" value="1" aria-label="..."  <?php if($site['ify_ture_name']){echo 'checked="checked"';}?> > 开启  <input type="radio" name="ify_ture_name" id="blankRadio1" value="0" aria-label="..." <?php if(!$site['ify_ture_name']){echo 'checked="checked"';}?> > 关闭
						<span style="color: red;"> (开启后将对服务器产生压力)</span></div>
					</div>
					<div class="control-group">
						<label class="control-label" for="url">网站风格</label>
						<div class="controls">
							<select name="site_style">
							<option value="1" <?php if($site['site_style']==1){echo "selected='selected'";}?> >全屏绿</option>
							<option value="2"<?php if($site['site_style']==2){echo "selected='selected'";}?> >窄屏灰</option>
							<option value="3"<?php if($site['site_style']==3){echo "selected='selected'";}?> >简约博客</option>
							
							<?php for ($i = 0; $i < $Temp_Json; $i ++) {
                                   $Temp_Filed = getTemplate_admin($Templates[$Temp_Xml[$i]]);
                                             ?>

    <option value="<?php echo $Temp_Filed['inc'];?>"<?php if($site['site_style']==$Temp_Filed['inc']){echo "selected='selected'";}?> ><?php echo $Temp_Filed['title'];?></option>
							
							
							
		                                <?php }?>
							
							
							
							
							</select>
						</div>
					</div>
					
					<div class="control-group">
						<label class="control-label" for="cat_ch">是否开启交互模块</label>
						<div class="controls">
							<input type="radio" name="cat_ch" id="blankRadio1" value="1" aria-label="..."  <?php if($site['cat_ch']){echo 'checked="checked"';}?> > 开启  <input type="radio" name="cat_ch" id="blankRadio1" value="0" aria-label="..." <?php if(!$site['cat_ch']){echo 'checked="checked"';}?> > 关闭
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="url">网站URL</label>
						<div class="controls">
							<input type="text" name="url" class="input-xlarge" id="url" value="<?php echo $site['url'];?>" />
						</div>
					</div>	
					<div class="control-group">
						<label class="control-label" for="copy">底部版权</label>
						<div class="controls">
							<textarea class="input-xlarge" id="copy" name="copy"><?php echo $site['copy'];?></textarea>
						</div>
					</div>		
					<div class="form-actions">
						<input name="updata_site" type="submit" class="btn btn-success btn-large" value="保存设置" /> <a class="btn" href="?c=index">返回仪表盘</a>
					</div>					
				</fieldset>
			</form>
		  </div>

</div>
<!--    /. 网站配置 -->

<!--     音乐配置 -->
    <div role="tabpanel" class="tab-pane" id="profile">
    
 <div class="row-fluid">
			<div class="page-header">
				<h1>音乐配置 <small>Music Config</small></h1>
			</div>
			<form class="form-horizontal" action="?c=site" method="post" enctype="multipart/form-data">
				<fieldset>
				<div class="control-group">
						<label class="control-label" for="music_ch">是否开启本模块</label>
						<div class="controls">
							<input type="radio" name="music_ch" id="blankRadio1" value="1" aria-label="..."  <?php if($site['music_ch']){echo 'checked="checked"';}?> > 开启  <input type="radio" name="music_ch" id="blankRadio1" value="0" aria-label="..." <?php if(!$site['music_ch']){echo 'checked="checked"';}?> > 关闭
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="music_title">模块名称</label>
						<div class="controls">
							<input type="text" name="music_title" class="input-xlarge" id="music_title" value="<?php echo $site['music_title'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="music_image">页面配图</label>
						<div class="controls">
							<input type="text" name="music_image" class="input-xlarge" id="music_image" value="<?php echo $site['music_image'];?>" /> <a href="<?php echo $site['music_image'];?>" target="_blank"><img title="点击查看大图" alt="点击查看大图" style="width: 28px; height: 28px;" src="<?php echo $site['music_image'];?>"> 查看</a>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="music_rec">最新显示数目</label>
						<div class="controls">
							<input type="text" name="music_rec" class="input-xlarge" id="music_rec" value="<?php echo $site['music_rec'];?>" />
						</div>
					</div>
					<div class="form-actions">
						<input name="updata_music" type="submit" class="btn btn-success btn-large" value="保存设置" /> <a class="btn" href="?c=index">返回仪表盘</a>
					</div>					
				</fieldset>
			</form>
		  </div>

    </div>
<!--    /. 音乐配置 -->

<!-- 视频配置 -->
 <div role="tabpanel" class="tab-pane" id="video">
    
 <div class="row-fluid">
			<div class="page-header">
				<h1>视频配置 <small>Video Config</small></h1>
			</div>
			<form class="form-horizontal" action="?c=site" method="post" enctype="multipart/form-data">
				<fieldset>
				<div class="control-group">
						<label class="control-label" for="video_ch">是否开启本模块</label>
						<div class="controls">
							<input type="radio" name="video_ch" id="blankRadio1" value="1" aria-label="..."  <?php if($site['video_ch']){echo 'checked="checked"';}?> > 开启  <input type="radio" name="video_ch" id="blankRadio1" value="0" aria-label="..." <?php if(!$site['video_ch']){echo 'checked="checked"';}?> > 关闭
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="video_title">模块名称</label>
						<div class="controls">
							<input type="text" name="video_title" class="input-xlarge" id="video_title" value="<?php echo $site['video_title'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="video_rec">最新显示数目</label>
						<div class="controls">
							<input type="text" name="video_rec" class="input-xlarge" id="video_rec" value="<?php echo $site['video_rec'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="video_rec_all">每页显示数目</label>
						<div class="controls">
							<input type="text" name="video_rec_all" class="input-xlarge" id="video_rec_all" value="<?php echo $site['video_rec_all'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="video_mend">推荐显示数目</label>
						<div class="controls">
							<input type="text" name="video_mend" class="input-xlarge" id="video_mend" value="<?php echo $site['video_mend'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="video_rand">随机显示数目</label>
						<div class="controls">
							<input type="text" name="video_rand" class="input-xlarge" id="video_rand" value="<?php echo $site['video_rand'];?>" />
						</div>
					</div>
					<div class="form-actions">
						<input name="updata_video" type="submit" class="btn btn-success btn-large" value="保存设置" /> <a class="btn" href="?c=index">返回仪表盘</a>
					</div>					
				</fieldset>
			</form>
		  </div>

    </div>

<!-- / .视频配置 -->
<!-- 文章配置 -->

 <div role="tabpanel" class="tab-pane" id="article">
    
 <div class="row-fluid">
			<div class="page-header">
				<h1>文章配置 <small>Article Config</small></h1>
			</div>
			<form class="form-horizontal" action="?c=site" method="post" enctype="multipart/form-data">
				<fieldset>
				<div class="control-group">
						<label class="control-label" for="article_ch">是否开启本模块</label>
						<div class="controls">
							<input type="radio" name="article_ch" id="blankRadio1" value="1" aria-label="..."  <?php if($site['article_ch']){echo 'checked="checked"';}?> > 开启  <input type="radio" name="article_ch" id="blankRadio1" value="0" aria-label="..." <?php if(!$site['article_ch']){echo 'checked="checked"';}?> > 关闭
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="article_substr">文章首页每篇字数预览</label>
						<div class="controls">
							<input type="text" name="article_substr" class="input-xlarge" id="article_substr" value="<?php echo $site['article_substr'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="article_rec">最新文章显示条数</label>
						<div class="controls">
							<input type="text" name="article_rec" class="input-xlarge" id="article_rec" value="<?php echo $site['article_rec'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="article_dom">首页是否开启图片边缘</label>
						<div class="controls">
							<input type="radio" name="article_dom" id="article_dom" value="1" aria-label="..."  <?php if($site['article_dom']){echo 'checked="checked"';}?> > 开启  <input type="radio" name="article_dom" id="article_dom" value="0" aria-label="..." <?php if(!$site['article_dom']){echo 'checked="checked"';}?> > 关闭
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="article_check">是否开启投稿功能</label>
						<div class="controls">
							<input type="radio" name="article_check" id="blankRadio1" value="1" aria-label="..."  <?php if($site['article_check']){echo 'checked="checked"';}?> > 开启  <input type="radio" name="article_check" id="blankRadio1" value="0" aria-label="..." <?php if(!$site['article_check']){echo 'checked="checked"';}?> > 关闭
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="article_dom_image">文章条目边缘图片地址</label>
						<div class="controls">
							<input type="text" name="article_dom_image" class="input-xlarge" id="article_dom_image" value="<?php echo $site['article_dom_image'];?>" /> <a href="<?php echo $site['article_dom_image'];?>" target="_blank"><img title="点击查看大图" alt="点击查看大图" style="width: 28px; height: 28px;" src="<?php echo $site['article_dom_image'];?>"> 查看</a>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="article_rand">随机文章显示条数</label>
						<div class="controls">
							<input type="text" name="article_rand" class="input-xlarge" id="article_rand" value="<?php echo $site['article_rand'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="article_mend">推荐文章显示条数</label>
						<div class="controls">
							<input type="text" name="article_mend" class="input-xlarge" id="article_mend" value="<?php echo $site['article_mend'];?>" />
						</div>
					</div>
					<div class="form-actions">
						<input name="updata_article" type="submit" class="btn btn-success btn-large" value="保存设置" /> <a class="btn" href="?c=index">返回仪表盘</a>
					</div>					
				</fieldset>
			</form>
		  </div>

    </div>

<!-- /. 文章配置 -->
  </div>

</div>
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
        </div>
      </div>

      <hr>

      <?php require_once 'foot.html';?>

    </div>

    <script src="Delivery/js/jquery.js"></script>
	<script src="Delivery/js/bootstrap.min.js"></script>
  </body>
</html>
